NAME
	GU_LayoutMenuItemsA -- Position all the menu items.

   SYNOPSIS
	success = GU_LayoutMenuItemsA(menuitem, vi, tags)
	D0                            A0        A1  A2

	BOOL GU_LayoutMenuItemsA(struct MenuItem *, APTR, struct TagItem *);

   FUNCTION
	Lays out all the menu items and sub-items according to
	the supplied visual information and tag parameters. You would use this
	if you used CreateMenusA() to make a single menu-pane (with sub-items,
	if any), instead of a whole menu strip.
	This routine attempts to columnize and/or shift the MenuItems in
	the event that a menu would be too tall or too wide.
 
   INPUTS
	menuitem - Pointer to the first MenuItem in a linked list of items.
	vi       - Pointer returned by GU_GetVisualInfoA().
	tags     - Pointer to an array of tags providing optional extra
	           information.

   TAGS
	See gadtools/LayoutMenuItemsA() for tags.

   RESULT
	success  - TRUE if successfull, FALSE otherwise.

   SEE ALSO
	GU_CreateMenusA(), GU_GetVisualInfoA(), gadtools/LayoutMenuItemsA()


[Main] [Previous] [Next]

Converted on 19 Jul 1996 with RexxDoesAmigaGuide2HTML by Michael Ranner.